package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.domain.Level;
import cn.wolfcode.crm.mapper.LevelMapper;
import cn.wolfcode.crm.service.ILevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LevelServiceImpl implements ILevelService {
    @Autowired
    private LevelMapper levelMapper;

    @Override
    public List<Level> listAll() {
        return levelMapper.selectAll();
    }
}
